<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<style type="text/css">
    html {
      height: 100%;
      overflow-y: hidden;
      overflow-x: hidden;
    }
    body {
      height: 100%;
    }
</style>
</head>

<body style="background:url('./qmb.jpeg') no-repeat; 
      background-size:100% 100%;">
<div style="text-align: center;    color: #fff;"><h1>查阅（复印）档案登记表</h1></div>
<table width="697" border="1" style="border-collapse: collapse;border: 1px solid #fff;color: #fff;">
  <tr>
    <td width="100" height="84" align="center">&nbsp;</td>
    <td width="80" align="center"><strong>姓名</strong></td>
    <td width="99" align="center"><strong>身份证号</strong></td>
    <td width="142" align="center"><strong>入伍时间</strong></td>
    <td width="133" align="center"><strong>退伍时间</strong></td>
    <td width="133" align="center"><strong>联系电话</strong></td>
  </tr>
  <tr>
    <td height="67" align="center"><strong>查档对象</strong></td>
    <td id="xm"></td>
    <td id="sfzh">&nbsp;</td>
    <td id="rwsj">&nbsp;</td>
    <td id="twsj">&nbsp;</td>
    <td id="lxdh">&nbsp;</td>
  </tr>
  <tr>
    <td height="359" align="center"><strong>查档人承诺</strong></td>
    <td colspan="5" style="line-height: 3.5;"><p align="center" class="STYLE1">承诺事项</p>
      <p class="STYLE1">1、本人（本单位）在绥化市退役军人事务局查阅和复印的档案资料，仅供本人（本单位）参考引用，未经允许绝不以任何形式公布，以及提供给他人、转让使用权。<br />
        2、不得擅自摘抄、拍摄、复印档案资料。如因工作需要复印档案资料，须经科室负责人核对签字，加盖公章生效。<br />
        3、违反承诺条款，按照有关法律法规追究相应责任。</p>
    </td>
  </tr>
</table>
</body>
<script type="text/javascript">
  function getParams(url) {
    var paramsStr = url.split("?")[1];  // 获取参数字符串
    var paramsArr = paramsStr.split("&");  // 将参数字符串转换为数组
    var paramsObj = {};
    for (var i = 0, len = paramsArr.length; i < len; i++) {
      var arr = paramsArr[i].split("=");
      var name = decodeURIComponent(arr[0]);  // 解码中文字符
      var value = decodeURIComponent(arr[1]);
      paramsObj[name] = value;  // 将键值对添加到paramsObj中
    }
    return paramsObj;
  }

  var params = getParams(window.location.href);
  var element = document.getElementById('xm');
  element.innerHTML = params.xm;   ; 
  var element = document.getElementById('sfzh');
  element.innerHTML = params.sfzh;
  var element = document.getElementById('rwsj');
  element.innerHTML = params.rwsj;
  var element = document.getElementById('twsj');
  element.innerHTML = params.twsj;
  var element = document.getElementById('lxdh');
  element.innerHTML = params.lxdh; 
</script>
</html>
